FROM docker.jianmuhub.com/library/amazoncorretto:17.0.6
ADD postDemo.jar /usr/local/bin
RUN chmod +x /usr/local/bin/postDemo.jar
ENV JM_INSTANCE_ID 1
ENV JM_TASK_REF 1
ENV JIANMU_TOKEN 1
ENV JIANMU_URL 1
ENTRYPOINT ["java","-jar","/usr/local/bin/postDemo.jar"]